<div>
	<h1>IP转ASI的网络设置</h1>
	<p class="lead">
		通过配置组播地址和端口号来接收IP的UDP数据
		<br>
		配置完成后需提交
	</p>
</div>
<div class="container">
	<form id="f" class="navbar-form navbar-left" role="search" action="/home" method="post">
		<div class="form-group">
			组播地址:
			<input id="addr" type="text" class="form-control" name="multiaddress" value="{{.MultiAddress}}">
			端口:
			<input id="port" type="text" class="form-control" name="port" value="{{.Port}}" >
			用户名:
			<input id="username" type="text" class="form-control" name="username" value="{{.UserName}}">
			密码:
			<input id="password" type="text" class="form-control" name="password" value="{{.Password}}">
		</div>
		<button id="go" type="submit" class="btn btn-default" disabled>提交</button>
	</form>
</div>

<button data-toggle="modal" data-target="#modal-switch" class="btn btn-default">管理</button>
<div id="modal-switch" tabindex="-1" role="dialog" aria-labelledby="modal-switch-label" class="modal fade">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" data-dismiss="modal" class="close"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
				<div id="modal-switch-label" class="modal-title">运行</div>
			</div>
			<div class="modal-body">
				<input id="switch-modal" type="checkbox" name="my-checkbox" unchecked>
			</div>
		</div>
	</div>
</div>